package com.roncoo.education.db.dao;

import com.roncoo.education.db.entity.AdminSystem;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminSystemDao {

    Long insert(AdminSystem news);

    List<AdminSystem> findByBean(AdminSystem news);

    AdminSystem findById(Long id);

    Integer findByBeanCount(AdminSystem news);

    void deleteById(AdminSystem news);

    void deleteByBean(AdminSystem news);

    void updateById(AdminSystem news);

}
